package com.sinosoft.perfect.system._.dao;

import java.sql.SQLException;

import com.sinosoft.perfect.system._.vo.SortNumber;

public interface ISortNumberDao {

	public SortNumber selectSortHisoryInfo(SortNumber sortNumber) throws SQLException;

	public void updateSort(SortNumber sortNumber) throws SQLException;

	public void updateSortUp(SortNumber sortNumber) throws SQLException;

	public void updateSortDown(SortNumber sortNumber) throws SQLException;

	public void updateSortTransaction(SortNumber sortNumber, boolean up) throws SQLException;

	/**
	 * 
	 */

	public SortNumber selectSortHisoryInfoRelation(SortNumber sortNumber) throws SQLException;
	
	public void updateSortRelation(SortNumber sortNumber) throws SQLException;

	public void updateSortUpRelation(SortNumber sortNumber) throws SQLException;

	public void updateSortDownRelation(SortNumber sortNumber) throws SQLException;

	public void updateSortTransactionRelation(SortNumber sortNumber, boolean up) throws SQLException;

	/**
	 * 
	 */

	public SortNumber selectSortHisoryInfoNoSuper(SortNumber sortNumber) throws SQLException;

	public void updateSortNoSuper(SortNumber sortNumber) throws SQLException;

	public void updateSortUpNoSuper(SortNumber sortNumber) throws SQLException;

	public void updateSortDownNoSuper(SortNumber sortNumber) throws SQLException;

	public void updateSortTransactionNoSuper(SortNumber sortNumber, boolean up) throws SQLException;
}
